package cn.jslancer.service.impl;

import cn.jslancer.domain.Article;
import cn.jslancer.repository.ArticleRepository;
import cn.jslancer.service.ArticleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Service;

/**
 * @author jslancer
 * @date 2017/11/6
 */
@Service
public class ArticleServiceImpl extends BaseServiceImpl<Article, String> implements ArticleService {

    @Autowired
    private ArticleRepository articleRepository;


    @Override
    public MongoRepository<Article, String> getMongoRepository() {
        return articleRepository;
    }
}
